package com.wx.activitys.drp.service;

import java.util.List;
import java.util.Map;

import com.wx.activitys.drp.model.BShare;

public interface ShareService {

	List<BShare> findByOpenid(String openid);
	
	
	/**
	 * 初始化share表数据
	 * @param openid
	 * @param pId
	 */
	void initData(String openid,String pId,String roleKey);
	
	int insert(BShare bShare);
	
	int update(Map<String,Object> map);
	
	public void initData1();
	public void initData2();
}
